import React from 'react'

export default function Menu({list}:any) {
  return (
    <div>
       {list.map((item:any)=>{
           return  <span key={item.id}>
               <a href={"#"+item.path} >{item.msg}</a>|
           </span>
       })}

    </div>
  )
}
